package com.hospital.diagnose.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class ContinuationRecordExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public ContinuationRecordExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andCtnRecMdcRecIdIsNull() {
            addCriterion("ctn_rec_mdc_rec_id is null");
            return (Criteria) this;
        }

        public Criteria andCtnRecMdcRecIdIsNotNull() {
            addCriterion("ctn_rec_mdc_rec_id is not null");
            return (Criteria) this;
        }

        public Criteria andCtnRecMdcRecIdEqualTo(Integer value) {
            addCriterion("ctn_rec_mdc_rec_id =", value, "ctnRecMdcRecId");
            return (Criteria) this;
        }

        public Criteria andCtnRecMdcRecIdNotEqualTo(Integer value) {
            addCriterion("ctn_rec_mdc_rec_id <>", value, "ctnRecMdcRecId");
            return (Criteria) this;
        }

        public Criteria andCtnRecMdcRecIdGreaterThan(Integer value) {
            addCriterion("ctn_rec_mdc_rec_id >", value, "ctnRecMdcRecId");
            return (Criteria) this;
        }

        public Criteria andCtnRecMdcRecIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("ctn_rec_mdc_rec_id >=", value, "ctnRecMdcRecId");
            return (Criteria) this;
        }

        public Criteria andCtnRecMdcRecIdLessThan(Integer value) {
            addCriterion("ctn_rec_mdc_rec_id <", value, "ctnRecMdcRecId");
            return (Criteria) this;
        }

        public Criteria andCtnRecMdcRecIdLessThanOrEqualTo(Integer value) {
            addCriterion("ctn_rec_mdc_rec_id <=", value, "ctnRecMdcRecId");
            return (Criteria) this;
        }

        public Criteria andCtnRecMdcRecIdIn(List<Integer> values) {
            addCriterion("ctn_rec_mdc_rec_id in", values, "ctnRecMdcRecId");
            return (Criteria) this;
        }

        public Criteria andCtnRecMdcRecIdNotIn(List<Integer> values) {
            addCriterion("ctn_rec_mdc_rec_id not in", values, "ctnRecMdcRecId");
            return (Criteria) this;
        }

        public Criteria andCtnRecMdcRecIdBetween(Integer value1, Integer value2) {
            addCriterion("ctn_rec_mdc_rec_id between", value1, value2, "ctnRecMdcRecId");
            return (Criteria) this;
        }

        public Criteria andCtnRecMdcRecIdNotBetween(Integer value1, Integer value2) {
            addCriterion("ctn_rec_mdc_rec_id not between", value1, value2, "ctnRecMdcRecId");
            return (Criteria) this;
        }

        public Criteria andCtnRecCreateDateIsNull() {
            addCriterion("ctn_rec_create_date is null");
            return (Criteria) this;
        }

        public Criteria andCtnRecCreateDateIsNotNull() {
            addCriterion("ctn_rec_create_date is not null");
            return (Criteria) this;
        }

        public Criteria andCtnRecCreateDateEqualTo(Date value) {
            addCriterion("ctn_rec_create_date =", value, "ctnRecCreateDate");
            return (Criteria) this;
        }

        public Criteria andCtnRecCreateDateNotEqualTo(Date value) {
            addCriterion("ctn_rec_create_date <>", value, "ctnRecCreateDate");
            return (Criteria) this;
        }

        public Criteria andCtnRecCreateDateGreaterThan(Date value) {
            addCriterion("ctn_rec_create_date >", value, "ctnRecCreateDate");
            return (Criteria) this;
        }

        public Criteria andCtnRecCreateDateGreaterThanOrEqualTo(Date value) {
            addCriterion("ctn_rec_create_date >=", value, "ctnRecCreateDate");
            return (Criteria) this;
        }

        public Criteria andCtnRecCreateDateLessThan(Date value) {
            addCriterion("ctn_rec_create_date <", value, "ctnRecCreateDate");
            return (Criteria) this;
        }

        public Criteria andCtnRecCreateDateLessThanOrEqualTo(Date value) {
            addCriterion("ctn_rec_create_date <=", value, "ctnRecCreateDate");
            return (Criteria) this;
        }

        public Criteria andCtnRecCreateDateIn(List<Date> values) {
            addCriterion("ctn_rec_create_date in", values, "ctnRecCreateDate");
            return (Criteria) this;
        }

        public Criteria andCtnRecCreateDateNotIn(List<Date> values) {
            addCriterion("ctn_rec_create_date not in", values, "ctnRecCreateDate");
            return (Criteria) this;
        }

        public Criteria andCtnRecCreateDateBetween(Date value1, Date value2) {
            addCriterion("ctn_rec_create_date between", value1, value2, "ctnRecCreateDate");
            return (Criteria) this;
        }

        public Criteria andCtnRecCreateDateNotBetween(Date value1, Date value2) {
            addCriterion("ctn_rec_create_date not between", value1, value2, "ctnRecCreateDate");
            return (Criteria) this;
        }

        public Criteria andCtnRecPatientDescriptionIsNull() {
            addCriterion("ctn_rec_patient_description is null");
            return (Criteria) this;
        }

        public Criteria andCtnRecPatientDescriptionIsNotNull() {
            addCriterion("ctn_rec_patient_description is not null");
            return (Criteria) this;
        }

        public Criteria andCtnRecPatientDescriptionEqualTo(String value) {
            addCriterion("ctn_rec_patient_description =", value, "ctnRecPatientDescription");
            return (Criteria) this;
        }

        public Criteria andCtnRecPatientDescriptionNotEqualTo(String value) {
            addCriterion("ctn_rec_patient_description <>", value, "ctnRecPatientDescription");
            return (Criteria) this;
        }

        public Criteria andCtnRecPatientDescriptionGreaterThan(String value) {
            addCriterion("ctn_rec_patient_description >", value, "ctnRecPatientDescription");
            return (Criteria) this;
        }

        public Criteria andCtnRecPatientDescriptionGreaterThanOrEqualTo(String value) {
            addCriterion("ctn_rec_patient_description >=", value, "ctnRecPatientDescription");
            return (Criteria) this;
        }

        public Criteria andCtnRecPatientDescriptionLessThan(String value) {
            addCriterion("ctn_rec_patient_description <", value, "ctnRecPatientDescription");
            return (Criteria) this;
        }

        public Criteria andCtnRecPatientDescriptionLessThanOrEqualTo(String value) {
            addCriterion("ctn_rec_patient_description <=", value, "ctnRecPatientDescription");
            return (Criteria) this;
        }

        public Criteria andCtnRecPatientDescriptionLike(String value) {
            addCriterion("ctn_rec_patient_description like", value, "ctnRecPatientDescription");
            return (Criteria) this;
        }

        public Criteria andCtnRecPatientDescriptionNotLike(String value) {
            addCriterion("ctn_rec_patient_description not like", value, "ctnRecPatientDescription");
            return (Criteria) this;
        }

        public Criteria andCtnRecPatientDescriptionIn(List<String> values) {
            addCriterion("ctn_rec_patient_description in", values, "ctnRecPatientDescription");
            return (Criteria) this;
        }

        public Criteria andCtnRecPatientDescriptionNotIn(List<String> values) {
            addCriterion("ctn_rec_patient_description not in", values, "ctnRecPatientDescription");
            return (Criteria) this;
        }

        public Criteria andCtnRecPatientDescriptionBetween(String value1, String value2) {
            addCriterion("ctn_rec_patient_description between", value1, value2, "ctnRecPatientDescription");
            return (Criteria) this;
        }

        public Criteria andCtnRecPatientDescriptionNotBetween(String value1, String value2) {
            addCriterion("ctn_rec_patient_description not between", value1, value2, "ctnRecPatientDescription");
            return (Criteria) this;
        }

        public Criteria andCtnRecCheckpointIsNull() {
            addCriterion("ctn_rec_checkpoint is null");
            return (Criteria) this;
        }

        public Criteria andCtnRecCheckpointIsNotNull() {
            addCriterion("ctn_rec_checkpoint is not null");
            return (Criteria) this;
        }

        public Criteria andCtnRecCheckpointEqualTo(String value) {
            addCriterion("ctn_rec_checkpoint =", value, "ctnRecCheckpoint");
            return (Criteria) this;
        }

        public Criteria andCtnRecCheckpointNotEqualTo(String value) {
            addCriterion("ctn_rec_checkpoint <>", value, "ctnRecCheckpoint");
            return (Criteria) this;
        }

        public Criteria andCtnRecCheckpointGreaterThan(String value) {
            addCriterion("ctn_rec_checkpoint >", value, "ctnRecCheckpoint");
            return (Criteria) this;
        }

        public Criteria andCtnRecCheckpointGreaterThanOrEqualTo(String value) {
            addCriterion("ctn_rec_checkpoint >=", value, "ctnRecCheckpoint");
            return (Criteria) this;
        }

        public Criteria andCtnRecCheckpointLessThan(String value) {
            addCriterion("ctn_rec_checkpoint <", value, "ctnRecCheckpoint");
            return (Criteria) this;
        }

        public Criteria andCtnRecCheckpointLessThanOrEqualTo(String value) {
            addCriterion("ctn_rec_checkpoint <=", value, "ctnRecCheckpoint");
            return (Criteria) this;
        }

        public Criteria andCtnRecCheckpointLike(String value) {
            addCriterion("ctn_rec_checkpoint like", value, "ctnRecCheckpoint");
            return (Criteria) this;
        }

        public Criteria andCtnRecCheckpointNotLike(String value) {
            addCriterion("ctn_rec_checkpoint not like", value, "ctnRecCheckpoint");
            return (Criteria) this;
        }

        public Criteria andCtnRecCheckpointIn(List<String> values) {
            addCriterion("ctn_rec_checkpoint in", values, "ctnRecCheckpoint");
            return (Criteria) this;
        }

        public Criteria andCtnRecCheckpointNotIn(List<String> values) {
            addCriterion("ctn_rec_checkpoint not in", values, "ctnRecCheckpoint");
            return (Criteria) this;
        }

        public Criteria andCtnRecCheckpointBetween(String value1, String value2) {
            addCriterion("ctn_rec_checkpoint between", value1, value2, "ctnRecCheckpoint");
            return (Criteria) this;
        }

        public Criteria andCtnRecCheckpointNotBetween(String value1, String value2) {
            addCriterion("ctn_rec_checkpoint not between", value1, value2, "ctnRecCheckpoint");
            return (Criteria) this;
        }

        public Criteria andCtnRecResultIsNull() {
            addCriterion("ctn_rec_result is null");
            return (Criteria) this;
        }

        public Criteria andCtnRecResultIsNotNull() {
            addCriterion("ctn_rec_result is not null");
            return (Criteria) this;
        }

        public Criteria andCtnRecResultEqualTo(String value) {
            addCriterion("ctn_rec_result =", value, "ctnRecResult");
            return (Criteria) this;
        }

        public Criteria andCtnRecResultNotEqualTo(String value) {
            addCriterion("ctn_rec_result <>", value, "ctnRecResult");
            return (Criteria) this;
        }

        public Criteria andCtnRecResultGreaterThan(String value) {
            addCriterion("ctn_rec_result >", value, "ctnRecResult");
            return (Criteria) this;
        }

        public Criteria andCtnRecResultGreaterThanOrEqualTo(String value) {
            addCriterion("ctn_rec_result >=", value, "ctnRecResult");
            return (Criteria) this;
        }

        public Criteria andCtnRecResultLessThan(String value) {
            addCriterion("ctn_rec_result <", value, "ctnRecResult");
            return (Criteria) this;
        }

        public Criteria andCtnRecResultLessThanOrEqualTo(String value) {
            addCriterion("ctn_rec_result <=", value, "ctnRecResult");
            return (Criteria) this;
        }

        public Criteria andCtnRecResultLike(String value) {
            addCriterion("ctn_rec_result like", value, "ctnRecResult");
            return (Criteria) this;
        }

        public Criteria andCtnRecResultNotLike(String value) {
            addCriterion("ctn_rec_result not like", value, "ctnRecResult");
            return (Criteria) this;
        }

        public Criteria andCtnRecResultIn(List<String> values) {
            addCriterion("ctn_rec_result in", values, "ctnRecResult");
            return (Criteria) this;
        }

        public Criteria andCtnRecResultNotIn(List<String> values) {
            addCriterion("ctn_rec_result not in", values, "ctnRecResult");
            return (Criteria) this;
        }

        public Criteria andCtnRecResultBetween(String value1, String value2) {
            addCriterion("ctn_rec_result between", value1, value2, "ctnRecResult");
            return (Criteria) this;
        }

        public Criteria andCtnRecResultNotBetween(String value1, String value2) {
            addCriterion("ctn_rec_result not between", value1, value2, "ctnRecResult");
            return (Criteria) this;
        }

        public Criteria andCtnRecAdviceIsNull() {
            addCriterion("ctn_rec_advice is null");
            return (Criteria) this;
        }

        public Criteria andCtnRecAdviceIsNotNull() {
            addCriterion("ctn_rec_advice is not null");
            return (Criteria) this;
        }

        public Criteria andCtnRecAdviceEqualTo(String value) {
            addCriterion("ctn_rec_advice =", value, "ctnRecAdvice");
            return (Criteria) this;
        }

        public Criteria andCtnRecAdviceNotEqualTo(String value) {
            addCriterion("ctn_rec_advice <>", value, "ctnRecAdvice");
            return (Criteria) this;
        }

        public Criteria andCtnRecAdviceGreaterThan(String value) {
            addCriterion("ctn_rec_advice >", value, "ctnRecAdvice");
            return (Criteria) this;
        }

        public Criteria andCtnRecAdviceGreaterThanOrEqualTo(String value) {
            addCriterion("ctn_rec_advice >=", value, "ctnRecAdvice");
            return (Criteria) this;
        }

        public Criteria andCtnRecAdviceLessThan(String value) {
            addCriterion("ctn_rec_advice <", value, "ctnRecAdvice");
            return (Criteria) this;
        }

        public Criteria andCtnRecAdviceLessThanOrEqualTo(String value) {
            addCriterion("ctn_rec_advice <=", value, "ctnRecAdvice");
            return (Criteria) this;
        }

        public Criteria andCtnRecAdviceLike(String value) {
            addCriterion("ctn_rec_advice like", value, "ctnRecAdvice");
            return (Criteria) this;
        }

        public Criteria andCtnRecAdviceNotLike(String value) {
            addCriterion("ctn_rec_advice not like", value, "ctnRecAdvice");
            return (Criteria) this;
        }

        public Criteria andCtnRecAdviceIn(List<String> values) {
            addCriterion("ctn_rec_advice in", values, "ctnRecAdvice");
            return (Criteria) this;
        }

        public Criteria andCtnRecAdviceNotIn(List<String> values) {
            addCriterion("ctn_rec_advice not in", values, "ctnRecAdvice");
            return (Criteria) this;
        }

        public Criteria andCtnRecAdviceBetween(String value1, String value2) {
            addCriterion("ctn_rec_advice between", value1, value2, "ctnRecAdvice");
            return (Criteria) this;
        }

        public Criteria andCtnRecAdviceNotBetween(String value1, String value2) {
            addCriterion("ctn_rec_advice not between", value1, value2, "ctnRecAdvice");
            return (Criteria) this;
        }

        public Criteria andCtnRecPhysicianIsNull() {
            addCriterion("ctn_rec_physician is null");
            return (Criteria) this;
        }

        public Criteria andCtnRecPhysicianIsNotNull() {
            addCriterion("ctn_rec_physician is not null");
            return (Criteria) this;
        }

        public Criteria andCtnRecPhysicianEqualTo(String value) {
            addCriterion("ctn_rec_physician =", value, "ctnRecPhysician");
            return (Criteria) this;
        }

        public Criteria andCtnRecPhysicianNotEqualTo(String value) {
            addCriterion("ctn_rec_physician <>", value, "ctnRecPhysician");
            return (Criteria) this;
        }

        public Criteria andCtnRecPhysicianGreaterThan(String value) {
            addCriterion("ctn_rec_physician >", value, "ctnRecPhysician");
            return (Criteria) this;
        }

        public Criteria andCtnRecPhysicianGreaterThanOrEqualTo(String value) {
            addCriterion("ctn_rec_physician >=", value, "ctnRecPhysician");
            return (Criteria) this;
        }

        public Criteria andCtnRecPhysicianLessThan(String value) {
            addCriterion("ctn_rec_physician <", value, "ctnRecPhysician");
            return (Criteria) this;
        }

        public Criteria andCtnRecPhysicianLessThanOrEqualTo(String value) {
            addCriterion("ctn_rec_physician <=", value, "ctnRecPhysician");
            return (Criteria) this;
        }

        public Criteria andCtnRecPhysicianLike(String value) {
            addCriterion("ctn_rec_physician like", value, "ctnRecPhysician");
            return (Criteria) this;
        }

        public Criteria andCtnRecPhysicianNotLike(String value) {
            addCriterion("ctn_rec_physician not like", value, "ctnRecPhysician");
            return (Criteria) this;
        }

        public Criteria andCtnRecPhysicianIn(List<String> values) {
            addCriterion("ctn_rec_physician in", values, "ctnRecPhysician");
            return (Criteria) this;
        }

        public Criteria andCtnRecPhysicianNotIn(List<String> values) {
            addCriterion("ctn_rec_physician not in", values, "ctnRecPhysician");
            return (Criteria) this;
        }

        public Criteria andCtnRecPhysicianBetween(String value1, String value2) {
            addCriterion("ctn_rec_physician between", value1, value2, "ctnRecPhysician");
            return (Criteria) this;
        }

        public Criteria andCtnRecPhysicianNotBetween(String value1, String value2) {
            addCriterion("ctn_rec_physician not between", value1, value2, "ctnRecPhysician");
            return (Criteria) this;
        }

        public Criteria andCtnRecRemarkIsNull() {
            addCriterion("ctn_rec_remark is null");
            return (Criteria) this;
        }

        public Criteria andCtnRecRemarkIsNotNull() {
            addCriterion("ctn_rec_remark is not null");
            return (Criteria) this;
        }

        public Criteria andCtnRecRemarkEqualTo(String value) {
            addCriterion("ctn_rec_remark =", value, "ctnRecRemark");
            return (Criteria) this;
        }

        public Criteria andCtnRecRemarkNotEqualTo(String value) {
            addCriterion("ctn_rec_remark <>", value, "ctnRecRemark");
            return (Criteria) this;
        }

        public Criteria andCtnRecRemarkGreaterThan(String value) {
            addCriterion("ctn_rec_remark >", value, "ctnRecRemark");
            return (Criteria) this;
        }

        public Criteria andCtnRecRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("ctn_rec_remark >=", value, "ctnRecRemark");
            return (Criteria) this;
        }

        public Criteria andCtnRecRemarkLessThan(String value) {
            addCriterion("ctn_rec_remark <", value, "ctnRecRemark");
            return (Criteria) this;
        }

        public Criteria andCtnRecRemarkLessThanOrEqualTo(String value) {
            addCriterion("ctn_rec_remark <=", value, "ctnRecRemark");
            return (Criteria) this;
        }

        public Criteria andCtnRecRemarkLike(String value) {
            addCriterion("ctn_rec_remark like", value, "ctnRecRemark");
            return (Criteria) this;
        }

        public Criteria andCtnRecRemarkNotLike(String value) {
            addCriterion("ctn_rec_remark not like", value, "ctnRecRemark");
            return (Criteria) this;
        }

        public Criteria andCtnRecRemarkIn(List<String> values) {
            addCriterion("ctn_rec_remark in", values, "ctnRecRemark");
            return (Criteria) this;
        }

        public Criteria andCtnRecRemarkNotIn(List<String> values) {
            addCriterion("ctn_rec_remark not in", values, "ctnRecRemark");
            return (Criteria) this;
        }

        public Criteria andCtnRecRemarkBetween(String value1, String value2) {
            addCriterion("ctn_rec_remark between", value1, value2, "ctnRecRemark");
            return (Criteria) this;
        }

        public Criteria andCtnRecRemarkNotBetween(String value1, String value2) {
            addCriterion("ctn_rec_remark not between", value1, value2, "ctnRecRemark");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}